﻿
function Sample() {

}

Sample.prototype.main = function() {
            
    this.addHandler(this.HyperLink1, "click", this.selecionarTodos);
    
}

Sample.prototype.selecionarTodos = function() {
    
    for(var i = 0; i < this.Repeater1.Controls.length; i++)
    {
      this.Repeater1.Controls[i].FindControl("CheckBox1").checked = !this.Repeater1.Controls[i].FindControl("CheckBox1").checked;
    }

}

if (typeof (Sys) != "undefined" && typeof (Sys.Application) != "undefined") {
    Sys.Application.notifyScriptLoaded();
}